<div class="mine-image-cropper">
  <app-header [option]="headerOption"  (headerLeftClick)="backHome()"></app-header>
  <div class="mine-image-cropper-content">
    <image-cropper style="padding: 0"
      [imageBase64]="imageChangedEvent"
      [maintainAspectRatio]="true"
      [aspectRatio]="4 / 4"
      [resizeToWidth]="128"
      format="png"
      [roundCropper]="true"
      (imageCropped)="imageCropped($event)"
      (imageLoaded)="imageLoaded($event)"
      (cropperReady)="cropperReady($event)"
      (loadImageFailed)="loadImageFailed($event)"></image-cropper>
  </div>
  <button class="weui-btn weui-btn_primary" (click)="mineImageUpalodClick()">确认</button>
  <!--<button class="weui-btn weui-btn_primary" (click)="mineImageBackClick()" *ngIf="showSuccess === true">返回上一级</button>-->
  <app-loading [hidden]="loading_show"></app-loading>
  <div class="mine-personal-info-toast">
    <weui-toast #success [text]="123" [icon]="''" [time]="1000"></weui-toast>
  </div>
</div>
